package com.example.jetpackcomposebasic.dto

object BookFactory {

    fun list():List<Book>{
        return listOf(
            Book("语文书","文学大师\n李白\n杜甫"),
            Book("科学书","爱因斯坦"),
            Book("历史书","司马懿"),
            Book("数学书","欧拉"),
            Book("物理书","牛顿\n爱因斯坦\n伽利略")
        )
    }
}